KnitPay\Gateways\Razorpay\Integration B

Total Complexity 100
Dependencies 8
Dependents 2
Total lines 897
Lines of code 625
Logical lines of code 276
Comment lines 139
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
get_settings_fields()
C
25
16 220
refresh_access_token()
A
44 13 45
update_connection_status()
A
47 11 35
get_config()
A
46 7 40
save_post()
A
53 8 22
razoray_deprecated_keys_notice()
A
45 6 46
schedule_next_refresh_access_token()
S
54 6 22
save_token()
S
54 6 19
create_connection()
S
51 3 28
connect()
S
52 3 26
connection_status_box()
S
56 3 17
__construct()
S
52 2 25
setup()
S
58 2 15
get_gateway()
S
62 2 12
payment_provider_url()
S
68 2 7
gateway_configuration_display_value()
S
75 2 4
inc_refresh_token_fail_counter()
S
67 2 8
subscription_status_update_listener()
S
66 2 8
clear_config()
S
60 1 13
allowed_redirect_hosts()
S
77 1 4
redirect_to_config()
S
75 1 4
configure_webhook()
S
72 1 5